export default (Vue) => {
  Vue.filter('inviteAcStatus', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 0:
        return '全部'
        break
      case 1:
        return '已注册'
        break
      case 2:
        return '接受邀请'
        break
      case 3:
        return '接受并注册'
        break
      case 4:
        return '已开户'
        break
      case 5:
        return '已交易'
        break
      case 6:
        return '已领奖'
        break
      default:
        return type
    }
  /*eslint-enable*/
  })
}
